/* eslint-disable */
const pie = {
  "resultCode": "0000",
  "resultDesc": "成功!",
  "token": null,
  "userName": null,
  "data": {
    "totalNetworkUsers": 11723894,
    "platformUserList": [{
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10213,
      "proportion": "90.5%",
      "statTime": "2019-11-28 18:50:00",
      "createTime": "2019-11-28 18:50:02"
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 41123,
      "proportion": "0%",
      "statTime": "2019-11-28 18:50:01",
      "createTime": "2019-11-28 18:50:02"
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 45143,
      "proportion": "0%",
      "statTime": "2019-11-28 18:50:01",
      "createTime": "2019-11-28 18:50:02"
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 51112,
      "proportion": "9.5%",
      "statTime": "2019-11-28 18:50:01",
      "createTime": "2019-11-28 18:50:02"
    }, {
      "id": "5",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 12522,
      "proportion": "0%",
      "statTime": "2019-11-28 18:50:01",
      "createTime": "2019-11-28 18:50:02"
    }]
  }
}

const line1 = {
  "resultCode": "0000",
  "resultDesc": "成功!",
  "token": null,
  "userName": null,
  "data": {
    "platformUserList": [{
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 31133,
      "statMonth": "2019-09",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 141232,
      "statMonth": "2019-09",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 44442,
      "statMonth": "2019-09",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 123123,
      "statMonth": "2019-09",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "5",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 1222,
      "statMonth": "2019-09",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 12634,
      "statMonth": "2019-10",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 123233,
      "statMonth": "2019-10",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 2231,
      "statMonth": "2019-10",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 12232,
      "statMonth": "2019-10",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "5",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 12313,
      "statMonth": "2019-10",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 123123,
      "statMonth": "2019-11",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 14143,
      "statMonth": "2019-11",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 12323,
      "statMonth": "2019-11",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 12222,
      "statMonth": "2019-11",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "5",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 141414,
      "statMonth": "2019-11",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 14212,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 123123,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 124113,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 12222,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "1",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 22223,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "2",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 41123,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "3",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 154151,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "4",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 13256,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "5",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 27454,
      "statMonth": "2019-12",
      "beginTime": null,
      "endTime": null
    }].reverse()
  }
}

const line2 = {
  "resultCode": "0000",
  "resultDesc": "成功!",
  "token": null,
  "userName": null,
  "data": {
    "platformUserList": [{
      "id": "18",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610356,
      "openUserNum": "73668",
      "proportion": "0.69%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "19",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 131414,
      "openUserNum": "124145",
      "proportion": "10%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "20",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 1231314,
      "openUserNum": "145131",
      "proportion": "20%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "21",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 141231,
      "openUserNum": "388345",
      "proportion": "99.9%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "22",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 123141,
      "openUserNum": "12410",
      "proportion": "23%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "25",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 211410,
      "openUserNum": "233123",
      "proportion": "51%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "26",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 141240,
      "openUserNum": "101411",
      "proportion": "52%",
      "statDate": "2019-11-21",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "27",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 1241,
      "openUserNum": "14140",
      "proportion": "20%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "28",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 141415,
      "openUserNum": "15410",
      "proportion": "70%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "29",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 124145142,
      "openUserNum": "124120",
      "proportion": "43%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "30",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 123124,
      "openUserNum": "21412",
      "proportion": "0.01%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "31",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 123141,
      "openUserNum": "1150",
      "proportion": "5%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "34",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 1241230,
      "openUserNum": "151510",
      "proportion": "80%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "35",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 141230,
      "openUserNum": "151540",
      "proportion": "40%",
      "statDate": "2019-11-22",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "36",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610356,
      "openUserNum": "1511310",
      "proportion": "60%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "37",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 123112,
      "openUserNum": "1541230",
      "proportion": "50%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "38",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 2124118,
      "openUserNum": "1414312",
      "proportion": "14%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "39",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 388733,
      "openUserNum": "213123",
      "proportion": "40%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "40",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 1243141,
      "openUserNum": "114140",
      "proportion": "22%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "43",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 124140,
      "openUserNum": "141140",
      "proportion": "41%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "44",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 14140,
      "openUserNum": "1414141",
      "proportion": "5%",
      "statDate": "2019-11-23",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "45",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610356,
      "openUserNum": "201414",
      "proportion": "14%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "46",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 112442,
      "openUserNum": "12430",
      "proportion": "41%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "47",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 2148,
      "openUserNum": "14130",
      "proportion": "14%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "48",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 388733,
      "openUserNum": "141230",
      "proportion": "1%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "49",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 14141,
      "openUserNum": "14130",
      "proportion": "31%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "52",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 145150,
      "openUserNum": "1413",
      "proportion": "13%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "53",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 124150,
      "openUserNum": "14123",
      "proportion": "44%",
      "statDate": "2019-11-24",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "54",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610356,
      "openUserNum": "14333",
      "proportion": "31%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "55",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 12,
      "openUserNum": "1413",
      "proportion": "31%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "56",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 29,
      "openUserNum": "12413",
      "proportion": "41%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "57",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 418388,
      "openUserNum": "1001",
      "proportion": "0.24%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "58",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 1,
      "openUserNum": "1433",
      "proportion": "41%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "61",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 0,
      "openUserNum": "131231",
      "proportion": "41%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "62",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 0,
      "openUserNum": "651233",
      "proportion": "31%",
      "statDate": "2019-11-25",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "63",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610357,
      "openUserNum": "141223",
      "proportion": "22%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "64",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 12,
      "openUserNum": "12413",
      "proportion": "44%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "65",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 29,
      "openUserNum": "123123",
      "proportion": "33%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "66",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 999372,
      "openUserNum": "128626",
      "proportion": "12.87%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "67",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 1,
      "openUserNum": "141333",
      "proportion": "2%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "70",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 0,
      "openUserNum": "14133",
      "proportion": "13%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "71",
      "platformId": "12314",
      "platformName": "新建测试",
      "userNum": 0,
      "openUserNum": "1413",
      "proportion": "33%",
      "statDate": "2019-11-26",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "72",
      "platformId": "unicomIptv",
      "platformName": "联通IPTV",
      "userNum": 10610357,
      "openUserNum": "1413123",
      "proportion": "44%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "73",
      "platformId": "telecomIptv",
      "platformName": "电信IPTV",
      "userNum": 14,
      "openUserNum": "1413123",
      "proportion": "44%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "74",
      "platformId": "iptv",
      "platformName": "IPTV",
      "userNum": 29,
      "openUserNum": "1123141",
      "proportion": "14%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "75",
      "platformId": "mobileiptv",
      "platformName": "移动IPTV",
      "userNum": 1113493,
      "openUserNum": "703927",
      "proportion": "63.22%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "76",
      "platformId": "guanglian",
      "platformName": "广联",
      "userNum": 1,
      "openUserNum": "1413",
      "proportion": "23%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "79",
      "platformId": "BOSS",
      "platformName": "BOSS",
      "userNum": 0,
      "openUserNum": "41123",
      "proportion": "4%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }, {
      "id": "80",
      "platformId": "qweqwe",
      "platformName": "新建测试",
      "userNum": 0,
      "openUserNum": "123124",
      "proportion": "2%",
      "statDate": "2019-11-27",
      "beginTime": null,
      "endTime": null
    }]
  }
}
export default [
  // 饼图统计
  {
    url: '/summaryData/networkUsers.do',
    type: 'post',
    response: config => {
      return pie
    }
  },

  // 折线统计1
  {
    url: '/summaryData/userTrends.do',
    type: 'post',
    response: config => {
      return line1
    }
  },

  // user logout
  {
    url: '/summaryData/powerOnUserTrends.do',
    type: 'post',
    response: condif => {
      return line2
    }
  }
]
